<script setup lang='ts'>
import { ref } from 'vue';
const msg = ref('你好哇')
const showAlter = () => {
    alert('雷好哇')
}
defineExpose({
    msg,
    showAlter
})
</script>

<template>
    <div>
        <div>{{ msg }}</div>
    </div>
</template>

<style scoped></style>